package com.lhz.framework.manager.threadManager.factory;

import lombok.Data;

/**
 * @author LiGezZ
 */
@Data
public class AsyncBean {

    /**
     * 类型
     */
    private Class<?> threadManagerClass;
    /**
     * 线程id
     */
    private String threadId;
    /**
     * 业务类[如何业务实体类有id那么尽量和threadId一致]
     */
    private Object object;

    public AsyncBean(Class<?> threadManagerClass, String threadId, Object object) {
        this.threadManagerClass = threadManagerClass;
        this.threadId = threadId;
        this.object = object;
    }
}
